package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter
@Setter
public class StockOutcomeBill {
    private Long id;
    private String sn;//单号
    private BigDecimal totalAmount;//总金额
    private BigDecimal totalNumber;//中数量
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inputTime;//录入的时间
    private Product product;//商品对象
    private Employee inputUser;//录入人
    private Shop shop;//商铺
}